
package neon;

public abstract class NeonButton extends NeonFrame
{

	private String label = "";

	public NeonButton(String label)
	{
		this.label = label;
	}

	public String getLabel()
	{
		return this.label;
	}

	public boolean setLabel(String label)
	{
		// TODO implementer une validation.
		boolean ok = true;

		if (ok)
		{
			this.label = label;
		}

		return ok;
	}

	public abstract void doAction();
}
